package com.my.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张子艺
 * @since 2018-09-13
 */
@TableName("tr_meal")
public class TrMeal extends Model<TrMeal> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 套餐名
     */
	@TableField("meal_name")
	private String mealName;
    /**
     * 套餐价格
     */
	@TableField("meal_price")
	private Integer mealPrice;
    /**
     * 套餐明细
     */
	@TableField("meal_text")
	private String mealText;
	/**
	 * 地区
	 */
	private Long areaid;

	/**
	 * 创建时间
	 */
	@TableField("createTime")
	private Long createTime;

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMealName() {
		return mealName;
	}

	public void setMealName(String mealName) {
		this.mealName = mealName;
	}

	public Integer getMealPrice() {
		return mealPrice;
	}

	public void setMealPrice(Integer mealPrice) {
		this.mealPrice = mealPrice;
	}

	public String getMealText() {
		return mealText;
	}

	public void setMealText(String mealText) {
		this.mealText = mealText;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TrMeal{" +
				"id=" + id +
				", mealName='" + mealName + '\'' +
				", mealPrice=" + mealPrice +
				", mealText='" + mealText + '\'' +
				", areaid=" + areaid +
				", createTime=" + createTime +
				'}';
	}
}
